<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>
<div><a href="javascript:" id='aid'>返回第二个页面</a></div>
<br>
<div><a href="javascript:" id='aid2'>返回第一个页面</a></div>
</body>
<script type="text/javascript">
	aidobj=document.getElementById('aid');
	aidobj.onclick=function(){
		// history.back();
		history.go(-1);
	}
		aid2obj=document.getElementById('aid2');
	aid2obj.onclick=function(){
		// history.back();
		history.go(-2);
	}
</script>
</html>